<#macro layout><!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
	<meta charset="utf-8" />
	<title>徐路</title>
	<meta content="width=device-width, initial-scale=1.0" name="viewport" />
	<meta content="" name="description" />
	<meta content="" name="author" />
	<!-- BEGIN GLOBAL MANDATORY STYLES -->
	<link href="${CONTEXT_PATH}/media/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
	<link href="${CONTEXT_PATH}/media/css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css"/>
	<link href="${CONTEXT_PATH}/media/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
	<link href="${CONTEXT_PATH}/media/css/style-metro.css" rel="stylesheet" type="text/css"/>
	<link href="${CONTEXT_PATH}/media/css/style.css" rel="stylesheet" type="text/css"/>
	<link href="${CONTEXT_PATH}/media/css/style-responsive.css" rel="stylesheet" type="text/css"/>
	<link href="${CONTEXT_PATH}/media/css/default.css" rel="stylesheet" type="text/css" id="style_color"/>
	<link href="${CONTEXT_PATH}/media/css/uniform.default.css" rel="stylesheet" type="text/css"/>
	<!-- END GLOBAL MANDATORY STYLES -->	<link rel="shortcut icon" href="${CONTEXT_PATH}/media/image/favicon.ico" />
</head>
<!-- END HEAD -->
<!-- BEGIN BODY -->
<body class="page-header-fixed">
	<!-- BEGIN HEADER -->
	<div class="header navbar navbar-inverse navbar-fixed-top">
		<!-- BEGIN TOP NAVIGATION BAR -->
		<div class="navbar-inner">
			<div class="container-fluid">
				<!-- BEGIN LOGO -->
				<a class="brand" href="index.html">
				<img src="${CONTEXT_PATH}/media/image/logo.png" alt="logo" />
				</a>
				<!-- END LOGO -->
				<!-- BEGIN RESPONSIVE MENU TOGGLER -->
				<a href="javascript:;" class="btn-navbar collapsed" data-toggle="collapse" data-target=".nav-collapse">
				<img src="${CONTEXT_PATH}/media/image/menu-toggler.png" alt="" />
				</a>          
				<!-- END RESPONSIVE MENU TOGGLER -->            
				<!-- BEGIN TOP NAVIGATION MENU -->              
				<ul class="nav pull-right">
					<!-- BEGIN NOTIFICATION DROPDOWN -->   
					<li class="dropdown" id="header_notification_bar">
						<a href="#" class="dropdown-toggle" data-toggle="dropdown">
						<i class="icon-warning-sign"></i>
						<span class="badge">1</span>
						</a>
						<ul class="dropdown-menu extended notification">
							<li>
								<p>You have 1 new notifications</p>
							</li>
							<li>
								<a href="#">
								<span class="label label-success"><i class="icon-plus"></i></span>
								New user registered. 
								<span class="time">Just now</span>
								</a>
							</li>
							<li class="external">
								<a href="#">See all notifications <i class="m-icon-swapright"></i></a>
							</li>
						</ul>
					</li>
					<!-- END NOTIFICATION DROPDOWN -->
					<!-- BEGIN INBOX DROPDOWN -->
					<li class="dropdown" id="header_inbox_bar">
						<a href="#" class="dropdown-toggle" data-toggle="dropdown">
						<i class="icon-envelope"></i>
						<span class="badge">1</span>
						</a>
						<ul class="dropdown-menu extended inbox">
							<li>
								<p>You have 1 new messages</p>
							</li>
							<li>
								<a href="inbox.html?a=view">
								<span class="photo"><img src="${CONTEXT_PATH}/media/image/avatar2.jpg" alt="" /></span>
								<span class="subject">
								<span class="from">Lisa Wong</span>
								<span class="time">Just Now</span>
								</span>
								<span class="message">
								Vivamus sed auctor nibh congue nibh. auctor nibh
								auctor nibh...
								</span>  
								</a>
							</li>
							<li class="external">
								<a href="inbox.html">See all messages <i class="m-icon-swapright"></i></a>
							</li>
						</ul>
					</li>
					<!-- END INBOX DROPDOWN -->
					<!-- BEGIN TODO DROPDOWN -->
					<li class="dropdown" id="header_task_bar">
						<a href="#" class="dropdown-toggle" data-toggle="dropdown">
						<i class="icon-tasks"></i>
						<span class="badge">1</span>
						</a>
						<ul class="dropdown-menu extended tasks">
							<li>
								<p>You have 1 pending tasks</p>
							</li>
							<li>
								<a href="#">
								<span class="task">
								<span class="desc">New release v1.2</span>
								<span class="percent">30%</span>
								</span>
								<span class="progress progress-success ">
								<span style="width: 30%;" class="bar"></span>
								</span>
								</a>
							</li>

							<li class="external">
								<a href="#">See all tasks <i class="m-icon-swapright"></i></a>
							</li>
						</ul>
					</li>
					<!-- END TODO DROPDOWN -->
					<!-- BEGIN USER LOGIN DROPDOWN -->
					<li class="dropdown user">
						<a href="#" class="dropdown-toggle" data-toggle="dropdown">
						<img alt="" src="${CONTEXT_PATH}/media/image/avatar1_small.jpg" />
						<span class="username">徐路</span>
						<i class="icon-angle-down"></i>
						</a>
						<ul class="dropdown-menu">
							<li><a href="extra_profile.html"><i class="icon-user"></i>我的资料</a></li>
							<li><a href="page_calendar.html"><i class="icon-calendar"></i>我的日历</a></li>
							<li><a href="inbox.html"><i class="icon-envelope"></i>收件箱(3)</a></li>
							<li><a href="#"><i class="icon-tasks"></i>我的任务</a></li>
							<li class="divider"></li>
							<li><a href="${CONTEXT_PATH}/logout"><i class="icon-key"></i>退出</a></li>
						</ul>
					</li>
					<!-- END USER LOGIN DROPDOWN -->
				</ul>
				<!-- END TOP NAVIGATION MENU --> 
			</div>
		</div>
		<!-- END TOP NAVIGATION BAR -->
	</div>
	<!-- END HEADER -->
	<!-- BEGIN CONTAINER -->   
	<div class="page-container row-fluid">
		<!-- BEGIN SIDEBAR -->
		<div class="page-sidebar nav-collapse collapse">
			<!-- BEGIN SIDEBAR MENU -->        
			<ul class="page-sidebar-menu">
				<li>
					<!-- BEGIN SIDEBAR TOGGLER BUTTON -->
					<div class="sidebar-toggler hidden-phone"></div>
					<!-- BEGIN SIDEBAR TOGGLER BUTTON -->
				</li>
				<li>
					<!-- BEGIN RESPONSIVE QUICK SEARCH FORM -->
					<form class="sidebar-search">
						<div class="input-box">
							<a href="javascript:;" class="remove"></a>
							<input type="text" placeholder="Search..." />
							<input type="button" class="submit" value="" />
						</div>
					</form>
					<!-- END RESPONSIVE QUICK SEARCH FORM -->
				</li>
				<li class="start">
					<a href="${CONTEXT_PATH}/">
					<i class="icon-home"></i> 
					<span class="title">首页</span>					
					</a>
				</li>
				<li class=" ">
					<a href="javascript:;">
					<i class="icon-cogs"></i> 
					<span class="title">后台管理</span>
					<span class="arrow "></span>
					</a>
					<ul class="sub-menu">
						<li >
							<a href="${CONTEXT_PATH}/tag">
							标签管理</a>
						</li>												<li >							<a href="${CONTEXT_PATH}/category">							类别管理</a>						</li>						<li >							<a href="${CONTEXT_PATH}/post">							文章管理</a>						</li>						<li >							<a href="${CONTEXT_PATH}/comment">							回复管理</a>						</li>
						<li >
							<a href="${CONTEXT_PATH}/user">
							用户管理</a>
						</li>

					</ul>
				</li>
				<li class="last">
					<a href="javascript:;">
					<i class="icon-search"></i> 
					<span class="title">查询</span>
					<span class="arrow "></span>
					</a>
					<ul class="sub-menu">
						<li >
							<a href="${CONTEXT_PATH}/query">
							收益表</a>
						</li>
					</ul>
				</li>
			</ul>
			<!-- END SIDEBAR MENU -->
		</div>
		<!-- END SIDEBAR -->
		<!-- BEGIN PAGE -->
		<div class="page-content">
			<!-- BEGIN SAMPLE PORTLET CONFIGURATION MODAL FORM-->
			<div id="portlet-config" class="modal hide">
				<div class="modal-header">
					<button data-dismiss="modal" class="close" type="button"></button>
					<h3>portlet Settings</h3>
				</div>
				<div class="modal-body">
					<p>Here will be a configuration form</p>
				</div>
			</div>
			<!-- END SAMPLE PORTLET CONFIGURATION MODAL FORM-->
			<!-- BEGIN PAGE CONTAINER-->
			<#nested>
			<!-- END PAGE CONTAINER--> 
		</div>
		<!-- END PAGE -->    
	</div>
	<!-- END CONTAINER -->
	<!-- BEGIN FOOTER -->
	<div class="footer">
		<div class="footer-inner">
			2014 &copy; Xulu by 99softs.
		</div>
		<div class="footer-tools">
			<span class="go-top">
			<i class="icon-angle-up"></i>
			</span>
		</div>
	</div>
	<!-- END FOOTER --></#macro>
<#macro scripts>	<!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->	<!-- BEGIN CORE PLUGINS -->	<script src="${CONTEXT_PATH}/media/js/jquery-1.10.1.min.js" type="text/javascript"></script>	<script src="${CONTEXT_PATH}/media/js/jquery-migrate-1.2.1.min.js" type="text/javascript"></script>	<!-- IMPORTANT! Load jquery-ui-1.10.1.custom.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip -->	<script src="${CONTEXT_PATH}/media/js/jquery-ui-1.10.1.custom.min.js" type="text/javascript"></script>      	<script src="${CONTEXT_PATH}/media/js/bootstrap.min.js" type="text/javascript"></script>	<!--[if lt IE 9]>	<script src="media/js/excanvas.min.js"></script>	<script src="media/js/respond.min.js"></script>  	<![endif]-->   	<script src="${CONTEXT_PATH}/media/js/jquery.slimscroll.min.js" type="text/javascript"></script>	<script src="${CONTEXT_PATH}/media/js/jquery.blockui.min.js" type="text/javascript"></script>  	<script src="${CONTEXT_PATH}/media/js/jquery.cookie.min.js" type="text/javascript"></script>	<script src="${CONTEXT_PATH}/media/js/jquery.uniform.min.js" type="text/javascript" ></script>	<!-- END CORE PLUGINS -->		  <#nested>	<script type="text/javascript">		var path = window.location.pathname		if (path.replace(/[^\/]/g, '').length > 1) {			path = path.substring(0, path.indexOf('/',2));		}				var menuContainer = $('.page-sidebar ul');		var menu = menuContainer.find('a[href="'+path+'"]');		var parentli = menu.parent().parent().parent();	    menuContainer.children('li.active').removeClass('active');	    menuContainer.children('arrow.open').removeClass('open');    	parentli.find('a:first').find('.arrow').addClass('open');    	parentli.find('a:first').append('<span class="selected"></span>');    	menu.append('<span class="selected"></span>');    	parentli.addClass('active');    	menu.parent().addClass('active');	</script>
	<!-- END JAVASCRIPTS -->
</body>
<!-- END BODY -->
</html></#macro>